*{
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
}
header{
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

header #newgamebutton{
    display: block;
    margin: 10px auto;
    width: 100px;
    padding: 10px 10px;
    background: linear-gradient(to bottom right,#b6f9ff,#83a5d5);
    color:white;
    border-radius:10px;
    text-decoration:none;
    outline: none;
    font-size: 16px;
}
header #newgamebutton:hover{
    background: linear-gradient(to bottom right,#195a9e,#41cca2);
    cursor: pointer;
}

header p{
    font-size: 25px;
    margin: 10px auto;
}

#grid-container{
    width: 460px;
    height: 460px;
    padding: 20px;
    margin: 10px auto;
    background: linear-gradient(#2f1437,#938d97);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
}
.grid-cell{
    width: 100px;
    height: 100px;
    border-radius: 6px;
    background: linear-gradient(#ffdde1,#ee9ca8);
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 500ms;
}
.grid-cell:nth-child(4n){
	margin-right: 0;
}
.grid-cell img{
	width: 100%;
	cursor: pointer;
	opacity: 0;
	transition: all 500ms;
}
.judge img{
	width: 100%;
	cursor: pointer;
	opacity: 1;
	transition: all 500ms;
}
.active img{
	width: 100%;
	cursor: pointer;
	opacity: 1;
	transition: all 500ms;
}
.namei{
	width: 351px;
	height: 540px;
	position: absolute;
	right: 0;
	bottom: -28px;
	opacity: 0;
	transition: all 2s;
	z-index: -1;
}
.namei>img{
	width: 100%;
}
body{
	position: relative;
}
.namei>img:nth-child(1){
	width: 280px;
	height: 130px;
	position: absolute;
	top: -100px;
	left: -25px;
}
.chengji{
	position: absolute;
	top: -60px;
}
.score{
	font-size: 24px;
	margin-left: 5px;
	margin-right: 5px;
}
